package com.tptech.nearme.service.implementation;

import javax.inject.Inject;

import com.tptech.nearme.data.LocationRepository;
import com.tptech.nearme.model.Location;
import com.tptech.nearme.service.ILocationService;

public class LocationService implements ILocationService {

	@Inject
	private LocationRepository repository;
	


	@Override
	public Location findSimilarLocation(Location location) {
		location = repository.merge(location);
		return location;
	}

}
